package request

type CreateOrderReq struct {
	StartAddress string  `json:"start_address" form:"start_address"`
	EndAddress   string  `json:"end_address" form:"end_address"`
	OrderSn      string  `json:"order_sn" form:"order_sn"`
	PassagerId   uint    `json:"passager_id" form:"passager_id"`
	DriverId     uint    `json:"driver_id" form:"driver_id"`
	OrderStatus  uint    `json:"order_status" form:"order_status"`
	PayType      uint    `json:"pay_type" form:"pay_type"`
	PayStatus    uint    `json:"pay_status" form:"pay_status"`
	PayPrice     float64 `json:"pay_price" form:"pay_price"`
	Kilo         float64 `json:"kilo" form:"kilo"`
	CarType      string  `json:"car_type" form:"car_type"`
}
type UpdateOrderReq struct {
	Id          uint   `json:"id" form:"id"`
	OrderStatus uint   `json:"order_status" form:"order_status"`
	OrderMode   string `json:"order_mode" form:"order_mode"`
}
type GetOrderListReq struct {
	OrderId     uint `json:"order_id" form:"order_id"`
	OrderStatus uint `json:"order_status" form:"order_status"`
	PassagerId  uint `json:"passager_id" form:"passager_id"`
}
type GetOrderDetailReq struct {
	Id uint `json:"id" form:"id"`
}
